# ABOUT
# A shell script for making estout better.
# ARGUMENTS
# first argument: file name
# second argument: dv name
# third argument: level of analysis

awk "NR==5{print \"\multicolumn{4}{l}{Outcome: $2}\"}1 && NR==5{print \"\\\\\\ \multicolumn{4}{l}{Level of analysis: $3} \\\\\\ \"}1" "2 tables/$1" > "$1.tmp" && mv "$1.tmp" "2 tables/$1"


